# import time
# from turtledemo.penrose import start
#
#
# def select_sort(arr):
#     for i in range(len(arr) - 1):
#         for j in range(i + 1, len(arr)):
#             if arr[i] > arr[j]:
#                 arr[i], arr[j] = arr[j], arr[i]
#
# arr = []
# for i in range(10000):
#     arr.append(i)
#
# print(time.time())
# # start = time.monotonic()
# # select_sort(arr)
# # end = time.monotonic()
# # print(f'start = {start}')
# # print(f'end = {end}')
# # result = end - start
# # print(f'end - start = {result}')
# # start = time.perf_counter()
# # select_sort(arr)
# # end = time.perf_counter()
# # print(start)
# # print(end)
# # print(end - start)
# # print('Welcome', end = " ")
# # time.sleep(1)
# # print('Pycharm', end = " ")
# # time.sleep(1)
# # print('Hello', end = " ")
# # time.sleep(1)
# # print('World')
# # print(time.ctime(10000000000))
# # print(time.gmtime().tm_year)
# # print(time.gmtime().tm_mon)
# # print(time.gmtime().tm_mday)
# # print(time.gmtime().tm_wday)
# print(time.localtime())
# print(time.gmtime())
# print(time.mktime(time.gmtime()))
# print(time.mktime(time.localtime()))
# print(time.strftime("%Y-%m-%d %H:%M:%S",time.gmtime()))
# print(time.strftime("%Y-%m-%d %H:%M:%S",time.localtime()))
# print(time.strptime('2025-06-19 10:43:49',"%Y-%m-%d %H:%M:%S"))
# print(time.strptime('06-19-2025 10:43:49',"%m-%d-%Y %H:%M:%S"))
# print(time.ctime(time.mktime(time.localtime())))
# print(time.ctime(time.time()))
# print(time.mktime(time.gmtime()))
# print(time.time())
# print(time.timezone)
# print(time.tzname)
# print(time.ctime())
import time

from scipy.cluster.hierarchy import cut_tree

current_time = time.time()
print(current_time)
local_time = time.localtime()
print(local_time)
sft = time.strftime("%Y-%m-%d %H:%M:%S",local_time)
print(sft)

# for i in range(3, 0, -1):
#     print(i)
#     time.sleep(1)

current_time = time.time()
local_time = time.gmtime(10000)
print(local_time)
sft = time.strftime("%Y-%m-%d", local_time)
print(sft)

struct_time = time.strptime(sft, "%Y-%m-%d")
print(struct_time)
print(struct_time.tm_year)
print(time.ctime())
